<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
    String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
<base href="<%=basePath%>">

<meta charset="utf-8" />
<title></title>
<meta name="description" content="overview & stats" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- <link href="static/css/bootstrap.min.css" rel="stylesheet" />
<link href="static/css/bootstrap-responsive.min.css" rel="stylesheet" /> -->
<!-- <link rel="stylesheet" href="static/css/font-awesome.min.css" /> -->
<link rel="stylesheet" href="static/css/ace.min.css" />
<link rel="stylesheet" href="static/css/ace-responsive.min.css" />
<!-- <link rel="stylesheet" href="static/css/ace-skins.min.css" /> -->
<!--提示框-->
<script type="text/javascript" src="<%=basePath%>static/hongbao/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="<%=basePath%>static/hongbao/jquery.jqprint-0.3.js"></script>
<script type="text/javascript">
	function printNote() {
		$("#printNote").jqprint();
	}
</script>
<style media="print" type="text/css">
.Noprint {
	display: none;
}
</style>
</head>

<body>
	<div id="centerOfMainFrame">
		<div id="printNote">
			<table>
				<tr>
					<td>---------------------------------------</td>
				</tr>
				<tr align="center">
					<td style="font-size: 16px;">刷卡支付签购单</td>
				</tr>
				<tr>
					<td>---------------------------------------</td>
				</tr>
				<tr>
					<td style="font-size: 12px;">付款台号：<font size="5px;">${pd.table_name }</font></td>
				</tr>
				<tr>
					<td style="font-size: 12px;">商户名称：${pd.organ_name }</td>
				</tr>
				<tr>
					<td style="font-size: 12px;">商户编号：${pd.organ_name }</td>
				</tr>
				<tr>
					<td style="font-size: 12px;">支付方式：微信支付</td>
				</tr>
				<tr>
					<td style="font-size: 12px;">交易类型：消费</td>
				</tr>
				<tr>
					<td style="font-size: 12px;">下单时间：<fmt:formatDate value="${pd.order_create_time}"
							pattern="yyyy/MM/dd HH:mm:ss" /></td>
				</tr>
				<tr>
					<td style="font-size: 12px;">订单编号：</td>
				</tr>
				<tr>
					<td style="font-size: 12px;">${pd.order_no}</td>
				</tr>
				<tr>
					<td style="font-size: 12px;">收款金额：<b>RMB <fmt:formatNumber type="number"
								maxFractionDigits="2" value="${pd.amount}" /></b></td>
				</tr>
				<tr>
					<td>---------------------------------------</td>
				</tr>
			</table>
		</div>
		<!--消费信息结束-->
		<div class="center">
			<a class="btn btn-primary Noprint" onclick="printNote();">打印小票</a>
		</div>
<!-- 		<div class="center">
			<a class="btn btn-gray Noprint" onclick="top.Dialog.close();">关闭</a>
		</div> -->
	</div>
</body>
<script type="text/javascript">
	$(top.hangge());
</script>
</html>